﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.ServiceModel.Web;
using System.Xml.Linq;
using System.Xml;


/*
Developed By: Jyoti Seth
Developed On: 15th Jul 2011
Description: The code will call the function that provides all the projects info in xml format
*/
namespace SiteProjectsInfo
{
   
    [ServiceContract]
    public interface IProjectsInfo
    {
        [OperationContract]
        [WebGet(UriTemplate = "/ProjectsInfo",
            BodyStyle = WebMessageBodyStyle.Bare,
            ResponseFormat = WebMessageFormat.Xml)]
        XmlElement GetProjectSiteDetails();
        // http://<server>/_vti_bin/SiteProjectsInfo/ProjectsInfo.svc/ProjectsInfo
    }
}
